import {ajax} from '@/utils/request' 

export function getMemberCart (){
    return ajax({
        url: '/member/cart',
    })
}

//加入购物车 
export function postMemberCart (data){
    return ajax({
        url: '/member/cart',
        method: 'post',
        data
    })
}

//获取商品详情 
export function postGoodsList (data){
    return ajax({
        url: '/goods',
        data
    })
}

